package com.edu.neusoft.users.mapper;

import com.edu.neusoft.users.domain.Comment;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CommentMapper {

    List<Comment> selectCommentList();

    Comment getCommentByID(Long userID);

    int insertComment(Comment comment);

    int updateComment(Comment comment);

    long deleteComment(Long userID);
}